Calendar All Tests
Current file: /home/estudydev/workspace/eStudy_svn/web/calendar/tests/AllCalendarTests.php
Legend: executed not executed dead code

  Coverage
  Classes Methods Lines
Total
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 2
0.00 %0.00%
0.00% 0 / 11
 
AllCalendarTests
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 2
0.00 %0.00%
0.00% 0 / 11
 public static function main()
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 2
 public static function suite()
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 9


       1                 : <?php                                                                                      
       2                 : /*--------------------------------------------------------------------------+              
       3                 :  This file is part of eStudy.                                                              
       4                 :  - Modulgruppe:  calendar                                                                  
       5                 :  - Beschreibung: Alle Tests des Kalenders                                                  
       6                 :  - Version:      1.0, 03/11/09                                                             
       7                 :  - Autor(en):    Jochen Clemens <jochen.clemens@mni.fh-giessen.de> Refactoring MSP WS 09/10
       8                 :  Steffen Rupp <steffen.rupp@mni.fh-giessen.de> Refactoring MSP WS 09/10                    
       9                 :  +---------------------------------------------------------------------------+             
      10                 :  This program is free software; you can redistribute it and/or                             
      11                 :  modify it under the terms of the GNU General Public License                               
      12                 :  as published by the Free Software Foundation; either version 2                            
      13                 :  of the License, or any later version.                                                     
      14                 :  +---------------------------------------------------------------------------+             
      15                 :  This program is distributed in the hope that it will be useful,                           
      16                 :  but WITHOUT ANY WARRANTY; without even the implied warranty of                            
      17                 :  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                             
      18                 :  GNU General Public License for more details.                                              
      19                 :  You should have received a copy of the GNU General Public License                         
      20                 :  along with this program; if not, write to the Free Software                               
      21                 :  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.               
      22                 :  +--------------------------------------------------------------------------*/             
      23                 :                                                                                            
      24                 : if (!defined('PHPUnit_MAIN_METHOD')) {                                                     
      25                 :     define('PHPUnit_MAIN_METHOD', 'AllCalendarTests::main');                               
      26                 : }                                                                                          
      27                 :                                                                                            
      28                 : define("PATH_TO_ROOT", "../../");                                                          
      29                 :                                                                                            
      30                 : require_once PATH_TO_ROOT . "calendar/tests/CalendarTest.php";                             
      31                 : require_once PATH_TO_ROOT . "calendar/tests/CalendarAutomationTest.php";                   
      32                 : require_once PATH_TO_ROOT . "calendar/tests/FilterTest.php";                               
      33                 : require_once PATH_TO_ROOT . "calendar/tests/FunctionsTest.php";                            
      34                 : require_once PATH_TO_ROOT . "calendar/tests/GrouptimesOrganisationTest.php";               
      35                 : require_once PATH_TO_ROOT . "calendar/tests/TemplateTest.php";                             
      36                 : require_once PATH_TO_ROOT . "calendar/tests/export/AllExportTests.php";                    
      37                 :                                                                                            
      38                 : require_once 'PHPUnit/Framework.php';                                                      
      39                 : require_once 'PHPUnit/TextUI/TestRunner.php';                                              
      40                 :                                                                                            
      41                 : class AllCalendarTests {                                                                   
      42                 :                                                                                            
      43                 :     public static function main() {                                                        
      44               0 :         PHPUnit_TextUI_TestRunner::run(self::suite());                                     
      45               0 :     }                                                                                      
      46                 :                                                                                            
      47                 :     public static function suite() {                                                       
      48               0 :         $suite = new PHPUnit_Framework_TestSuite("Calendar All Tests");                    
      49               0 :         $suite->addTestSuite("CalendarAutomationTest");                                    
      50               0 :         $suite->addTestSuite("CalendarTest");                                              
      51               0 :         $suite->addTestSuite("FilterTest");                                                
      52               0 :         $suite->addTestSuite("FunctionsTest");                                             
      53               0 :         $suite->addTestSuite("GrouptimesOrganisationTest");                                
      54               0 :         $suite->addTestSuite("TemplateTest");                                              
      55                 :                                                                                            
      56               0 :         $suite->addTestSuite(AllExportTests::suite());                                     
      57                 :                                                                                            
      58               0 :         return $suite;                                                                     
      59                 :     }                                                                                      
      60                 : }                                                                                          
      61                 : if (PHPUnit_MAIN_METHOD == 'AllCalendarTests::main') {                                     
      62                 :     AllCalendarTests::main();                                                              
      63                 : }                                                                                          

Generated by PHPUnit 3.2.21 and Xdebug 2.0.3 at Thu Nov 26 17:01:15 CET 2009.